//搜索头所需的数据
import request from "@/utils/request";

//根据搜索获取通知公告列表
export const getInformListBySearchApi = (page,size,searchForm) => {
    return request({
        url: `/inform/${page}/${size}`,
        method: "get",
        params:searchForm
    })
}
//根据id搜索项目
export const getProjectByIdSearchApi = id => {
    return request.get(`/search/${id}`)
}

//根据搜索获取项目列表
export const getProjectListBySearchApi = (currentPage,pageSize,searchForm) => {
    return request({
        url: `/search/${currentPage}/${pageSize}`,
        method: "get",
        params:searchForm
    })
}
